import Request from '@/utils/request.js'
export function post(url, params) {
    return Request.post(url, params)
}
export function get(url, params) {
    return Request.get(url, params)
}
export const initParamsEvent = (callback, eventKey = 'paramsEvent') => {
    if (callback && callback instanceof Function) {
        uni.$once(eventKey, callback)
    }
}